PUT
/
cortex
/
documents
/
{test_doc_id}
curl --request PUT \
  --url https://api.sophra.org/api/cortex/documents/{test_doc_id} \
  --header 'Content-Type: application/json' \
  --data '"{\n    \"title\": \"{{updated_test_doc_title}}\",\n    \"abstract\": \"{{updated_test_doc_abstract}}\",\n    \"authors\": {{updated_test_doc_authors}},\n    \"metadata\": {\"updated\": true},\n    \"tags\": {{updated_test_doc_tags}},\n    \"source\": \"{{updated_test_doc_source}}\"\n}"'
"<any>"

Path Parameters

test_doc_id
string
required

Query Parameters

index
string

Body

application/json · object

Response

200 - application/json

Successful response

The response is of type any.